<meta http-equiv=content-type content="text/html; charset=utf-8" />
<%
String direction = (String)request.getParameter("page");
if(direction != null){
if( direction.equals("login")){ %>
<jsp:include page="login.jsp" />
<%}else if( direction.equals("register")){ %>
<jsp:include page="register.jsp" />
<%}else if( direction.equals("userPanel")){ %>
<jsp:include page="userPanel.jsp" />
<%}else if( direction.equals("adminPanelUsers")){ %>
<jsp:include page="adminPanelUsers.jsp" />
<%}else if( direction.equals("addDevice")){ %>
<jsp:include page="addDevice.jsp" />
<%}else if( direction.equals("adminPanelDevice")){ %>
<jsp:include page="adminPanelDevice.jsp" />
<%}else if( direction.equals("showDevicesServiceman")){ %>
<jsp:include page="showDevicesServiceman.jsp" />
<%}else if( direction.equals("registerSuccess")){ %>
<jsp:include page="registerSuccess.jsp" />
<%}else if( direction.equals("search")){ %>
<jsp:include page="search.jsp" />
<%}else if( direction.equals("contact")){ %>
<jsp:include page="contact.jsp" />
<%}else if( direction.equals("messageSended")){ %>
<jsp:include page="messageSended.jsp" />
<%}else if( direction.equals("showDevicesClient")){ %>
<jsp:include page="showDevicesClient.jsp" />
<%}else if( direction.equals("changeDeviceState")){ %>
<jsp:include page="changeDeviceState.jsp" />
<%}else if( direction.equals("forgotPassword")){ %>
<jsp:include page="forgotPassword.jsp" />
<%}} else  { %>
<jsp:include page="hello.jsp" />
<%}%>